package com.ld.security.server.admin.modules.ge.po;

import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.server.admin.modules.ge.entity.GeColumnEntity;
import com.ld.security.server.admin.modules.ge.entity.GeTableEntity;
import com.ld.security.common.core.base.SuperPo;
import com.ld.security.common.mybatis.anno.QueryKey;
import com.ld.security.common.mybatis.anno.RemoveKey;
import com.ld.security.common.mybatis.anno.SaveKey;
import lombok.Data;

import java.util.List;

@Data
public class TableSaveDetailsPo implements SuperPo {

    @RemoveKey
    @SaveKey
    private GeTableEntity table;


    @SqlKey(name = "tableId",valueField = "table.id")
    @QueryKey
    @RemoveKey
    @SaveKey(name = "tableId",valueField = "table.id")
    private List<GeColumnEntity> columns;

}
